﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MultiAnnotatedRegex.parser {
	class ParseException : Exception {
		private int where;

		public ParseException(string message, int where) : base(message) {
			this.where = where;
		}

		public override string ToString() {
			return "at location " + where + ": " + Message;
		}
	}
}
